package cn.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author 作者：HeShaoShuai
 * @Email 邮箱：2569819541@qq.com
 * @Date 日期：2023/5/17 15:56
 * @Package 包名：cn.tedu.weibo.pojo.vo
 * @Project 项目名：JavaSE
 * @Version 1.0
 */
public class WeiboDetailVO {
	private Integer id;
	private String content;
	private String urls;
	//    2023年3月10号 11点22分30秒
	@JsonFormat(pattern = "yyyy年MM月dd号 HH点mm分ss秒",timezone = "GMT+8")
	private Date created;
	private String nickname;

	@Override
	public String toString() {
		return "WeiboDetailVO{" +
				"id=" + id +
				", content='" + content + '\'' +
				", urls='" + urls + '\'' +
				", created=" + created +
				", nickname='" + nickname + '\'' +
				'}';
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUrls() {
		return urls;
	}

	public void setUrls(String urls) {
		this.urls = urls;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
}